#include<reg52.h>
sbit LED = P0^0;
void main()  
{
    unsigned int i = 0;  
    
    while (1)
    {
        LED = 0;                  //Light up small lights
        for (i=0; i<50000; i++);  //Delay for a period of time
        LED = 1;                  //Turn off the small light
        for (i=0; i<10000; i++);  
    }
}

